package com.yidu.hbatsft.service;

import com.yidu.hbatsft.domain.AtsBaseSport;

import java.util.List;

public interface AtsBaseSportService {
    /**
     * 查询所有体育项目的名称和id
     * @return 结果集
     */
    List<AtsBaseSport> selAllSportNmae();

    List<AtsBaseSport> selectAll();

    List<AtsBaseSport> selectAllPage(Integer pageNum, Integer pageSize);
    AtsBaseSport selectByPrimaryKey(Integer sportId);

    int deleteSp(Integer integer);

    int insert(AtsBaseSport atsBaseSport);

    int insertUpdate(AtsBaseSport atsBaseSport);

    AtsBaseSport findId(Integer sportId);
    List<AtsBaseSport> findName(String name);
    List<AtsBaseSport> findNamePage(String name , Integer pageNum, Integer pageSize);

    AtsBaseSport selSportNmaeLX(Integer sportId);

    List<AtsBaseSport> selectXmAll();
}
